/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-05-12
 * Time: 18:35
 */
public class Test {
    public static void main(String[] args) {
        MyQueue myQueue=new MyQueue();
       myQueue.offer(1);
        myQueue.offer(2);
        myQueue.offer(1);
        System.out.println(myQueue.poll());
        System.out.println(myQueue.poll());
        System.out.println(myQueue.size());
    }
}
